package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.List;

public class RelicsPreserveExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsPreserveExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPreserveIdIsNull() {
            addCriterion("preserve_id is null");
            return (Criteria) this;
        }

        public Criteria andPreserveIdIsNotNull() {
            addCriterion("preserve_id is not null");
            return (Criteria) this;
        }

        public Criteria andPreserveIdEqualTo(Integer value) {
            addCriterion("preserve_id =", value, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdNotEqualTo(Integer value) {
            addCriterion("preserve_id <>", value, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdGreaterThan(Integer value) {
            addCriterion("preserve_id >", value, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("preserve_id >=", value, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdLessThan(Integer value) {
            addCriterion("preserve_id <", value, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdLessThanOrEqualTo(Integer value) {
            addCriterion("preserve_id <=", value, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdIn(List<Integer> values) {
            addCriterion("preserve_id in", values, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdNotIn(List<Integer> values) {
            addCriterion("preserve_id not in", values, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdBetween(Integer value1, Integer value2) {
            addCriterion("preserve_id between", value1, value2, "preserveId");
            return (Criteria) this;
        }

        public Criteria andPreserveIdNotBetween(Integer value1, Integer value2) {
            addCriterion("preserve_id not between", value1, value2, "preserveId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNull() {
            addCriterion("basic_id is null");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNotNull() {
            addCriterion("basic_id is not null");
            return (Criteria) this;
        }

        public Criteria andBasicIdEqualTo(Integer value) {
            addCriterion("basic_id =", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotEqualTo(Integer value) {
            addCriterion("basic_id <>", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThan(Integer value) {
            addCriterion("basic_id >", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("basic_id >=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThan(Integer value) {
            addCriterion("basic_id <", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThanOrEqualTo(Integer value) {
            addCriterion("basic_id <=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIn(List<Integer> values) {
            addCriterion("basic_id in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotIn(List<Integer> values) {
            addCriterion("basic_id not in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdBetween(Integer value1, Integer value2) {
            addCriterion("basic_id between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotBetween(Integer value1, Integer value2) {
            addCriterion("basic_id not between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNull() {
            addCriterion("basic_name is null");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNotNull() {
            addCriterion("basic_name is not null");
            return (Criteria) this;
        }

        public Criteria andBasicNameEqualTo(String value) {
            addCriterion("basic_name =", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotEqualTo(String value) {
            addCriterion("basic_name <>", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThan(String value) {
            addCriterion("basic_name >", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThanOrEqualTo(String value) {
            addCriterion("basic_name >=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThan(String value) {
            addCriterion("basic_name <", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThanOrEqualTo(String value) {
            addCriterion("basic_name <=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLike(String value) {
            addCriterion("basic_name like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotLike(String value) {
            addCriterion("basic_name not like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameIn(List<String> values) {
            addCriterion("basic_name in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotIn(List<String> values) {
            addCriterion("basic_name not in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameBetween(String value1, String value2) {
            addCriterion("basic_name between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotBetween(String value1, String value2) {
            addCriterion("basic_name not between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeIsNull() {
            addCriterion("preserve_degree is null");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeIsNotNull() {
            addCriterion("preserve_degree is not null");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeEqualTo(String value) {
            addCriterion("preserve_degree =", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeNotEqualTo(String value) {
            addCriterion("preserve_degree <>", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeGreaterThan(String value) {
            addCriterion("preserve_degree >", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeGreaterThanOrEqualTo(String value) {
            addCriterion("preserve_degree >=", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeLessThan(String value) {
            addCriterion("preserve_degree <", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeLessThanOrEqualTo(String value) {
            addCriterion("preserve_degree <=", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeLike(String value) {
            addCriterion("preserve_degree like", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeNotLike(String value) {
            addCriterion("preserve_degree not like", value, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeIn(List<String> values) {
            addCriterion("preserve_degree in", values, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeNotIn(List<String> values) {
            addCriterion("preserve_degree not in", values, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeBetween(String value1, String value2) {
            addCriterion("preserve_degree between", value1, value2, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveDegreeNotBetween(String value1, String value2) {
            addCriterion("preserve_degree not between", value1, value2, "preserveDegree");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityIsNull() {
            addCriterion("preserve_integrity is null");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityIsNotNull() {
            addCriterion("preserve_integrity is not null");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityEqualTo(String value) {
            addCriterion("preserve_integrity =", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityNotEqualTo(String value) {
            addCriterion("preserve_integrity <>", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityGreaterThan(String value) {
            addCriterion("preserve_integrity >", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityGreaterThanOrEqualTo(String value) {
            addCriterion("preserve_integrity >=", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityLessThan(String value) {
            addCriterion("preserve_integrity <", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityLessThanOrEqualTo(String value) {
            addCriterion("preserve_integrity <=", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityLike(String value) {
            addCriterion("preserve_integrity like", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityNotLike(String value) {
            addCriterion("preserve_integrity not like", value, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityIn(List<String> values) {
            addCriterion("preserve_integrity in", values, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityNotIn(List<String> values) {
            addCriterion("preserve_integrity not in", values, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityBetween(String value1, String value2) {
            addCriterion("preserve_integrity between", value1, value2, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andPreserveIntegrityNotBetween(String value1, String value2) {
            addCriterion("preserve_integrity not between", value1, value2, "preserveIntegrity");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationIsNull() {
            addCriterion("integrity_situation is null");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationIsNotNull() {
            addCriterion("integrity_situation is not null");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationEqualTo(String value) {
            addCriterion("integrity_situation =", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotEqualTo(String value) {
            addCriterion("integrity_situation <>", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationGreaterThan(String value) {
            addCriterion("integrity_situation >", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationGreaterThanOrEqualTo(String value) {
            addCriterion("integrity_situation >=", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationLessThan(String value) {
            addCriterion("integrity_situation <", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationLessThanOrEqualTo(String value) {
            addCriterion("integrity_situation <=", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationLike(String value) {
            addCriterion("integrity_situation like", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotLike(String value) {
            addCriterion("integrity_situation not like", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationIn(List<String> values) {
            addCriterion("integrity_situation in", values, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotIn(List<String> values) {
            addCriterion("integrity_situation not in", values, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationBetween(String value1, String value2) {
            addCriterion("integrity_situation between", value1, value2, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotBetween(String value1, String value2) {
            addCriterion("integrity_situation not between", value1, value2, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmIsNull() {
            addCriterion("preserve_firm is null");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmIsNotNull() {
            addCriterion("preserve_firm is not null");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmEqualTo(String value) {
            addCriterion("preserve_firm =", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmNotEqualTo(String value) {
            addCriterion("preserve_firm <>", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmGreaterThan(String value) {
            addCriterion("preserve_firm >", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmGreaterThanOrEqualTo(String value) {
            addCriterion("preserve_firm >=", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmLessThan(String value) {
            addCriterion("preserve_firm <", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmLessThanOrEqualTo(String value) {
            addCriterion("preserve_firm <=", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmLike(String value) {
            addCriterion("preserve_firm like", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmNotLike(String value) {
            addCriterion("preserve_firm not like", value, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmIn(List<String> values) {
            addCriterion("preserve_firm in", values, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmNotIn(List<String> values) {
            addCriterion("preserve_firm not in", values, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmBetween(String value1, String value2) {
            addCriterion("preserve_firm between", value1, value2, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andPreserveFirmNotBetween(String value1, String value2) {
            addCriterion("preserve_firm not between", value1, value2, "preserveFirm");
            return (Criteria) this;
        }

        public Criteria andFirmSituationIsNull() {
            addCriterion("firm_situation is null");
            return (Criteria) this;
        }

        public Criteria andFirmSituationIsNotNull() {
            addCriterion("firm_situation is not null");
            return (Criteria) this;
        }

        public Criteria andFirmSituationEqualTo(String value) {
            addCriterion("firm_situation =", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationNotEqualTo(String value) {
            addCriterion("firm_situation <>", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationGreaterThan(String value) {
            addCriterion("firm_situation >", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationGreaterThanOrEqualTo(String value) {
            addCriterion("firm_situation >=", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationLessThan(String value) {
            addCriterion("firm_situation <", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationLessThanOrEqualTo(String value) {
            addCriterion("firm_situation <=", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationLike(String value) {
            addCriterion("firm_situation like", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationNotLike(String value) {
            addCriterion("firm_situation not like", value, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationIn(List<String> values) {
            addCriterion("firm_situation in", values, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationNotIn(List<String> values) {
            addCriterion("firm_situation not in", values, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationBetween(String value1, String value2) {
            addCriterion("firm_situation between", value1, value2, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andFirmSituationNotBetween(String value1, String value2) {
            addCriterion("firm_situation not between", value1, value2, "firmSituation");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseIsNull() {
            addCriterion("preserve_disease is null");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseIsNotNull() {
            addCriterion("preserve_disease is not null");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseEqualTo(String value) {
            addCriterion("preserve_disease =", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseNotEqualTo(String value) {
            addCriterion("preserve_disease <>", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseGreaterThan(String value) {
            addCriterion("preserve_disease >", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseGreaterThanOrEqualTo(String value) {
            addCriterion("preserve_disease >=", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseLessThan(String value) {
            addCriterion("preserve_disease <", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseLessThanOrEqualTo(String value) {
            addCriterion("preserve_disease <=", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseLike(String value) {
            addCriterion("preserve_disease like", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseNotLike(String value) {
            addCriterion("preserve_disease not like", value, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseIn(List<String> values) {
            addCriterion("preserve_disease in", values, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseNotIn(List<String> values) {
            addCriterion("preserve_disease not in", values, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseBetween(String value1, String value2) {
            addCriterion("preserve_disease between", value1, value2, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andPreserveDiseaseNotBetween(String value1, String value2) {
            addCriterion("preserve_disease not between", value1, value2, "preserveDisease");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationIsNull() {
            addCriterion("disease_situation is null");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationIsNotNull() {
            addCriterion("disease_situation is not null");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationEqualTo(String value) {
            addCriterion("disease_situation =", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationNotEqualTo(String value) {
            addCriterion("disease_situation <>", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationGreaterThan(String value) {
            addCriterion("disease_situation >", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationGreaterThanOrEqualTo(String value) {
            addCriterion("disease_situation >=", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationLessThan(String value) {
            addCriterion("disease_situation <", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationLessThanOrEqualTo(String value) {
            addCriterion("disease_situation <=", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationLike(String value) {
            addCriterion("disease_situation like", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationNotLike(String value) {
            addCriterion("disease_situation not like", value, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationIn(List<String> values) {
            addCriterion("disease_situation in", values, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationNotIn(List<String> values) {
            addCriterion("disease_situation not in", values, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationBetween(String value1, String value2) {
            addCriterion("disease_situation between", value1, value2, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andDiseaseSituationNotBetween(String value1, String value2) {
            addCriterion("disease_situation not between", value1, value2, "diseaseSituation");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNull() {
            addCriterion("append1 is null");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNotNull() {
            addCriterion("append1 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend1EqualTo(String value) {
            addCriterion("append1 =", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotEqualTo(String value) {
            addCriterion("append1 <>", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThan(String value) {
            addCriterion("append1 >", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThanOrEqualTo(String value) {
            addCriterion("append1 >=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThan(String value) {
            addCriterion("append1 <", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThanOrEqualTo(String value) {
            addCriterion("append1 <=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Like(String value) {
            addCriterion("append1 like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotLike(String value) {
            addCriterion("append1 not like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1In(List<String> values) {
            addCriterion("append1 in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotIn(List<String> values) {
            addCriterion("append1 not in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Between(String value1, String value2) {
            addCriterion("append1 between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotBetween(String value1, String value2) {
            addCriterion("append1 not between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNull() {
            addCriterion("append2 is null");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNotNull() {
            addCriterion("append2 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend2EqualTo(String value) {
            addCriterion("append2 =", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotEqualTo(String value) {
            addCriterion("append2 <>", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThan(String value) {
            addCriterion("append2 >", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThanOrEqualTo(String value) {
            addCriterion("append2 >=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThan(String value) {
            addCriterion("append2 <", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThanOrEqualTo(String value) {
            addCriterion("append2 <=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Like(String value) {
            addCriterion("append2 like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotLike(String value) {
            addCriterion("append2 not like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2In(List<String> values) {
            addCriterion("append2 in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotIn(List<String> values) {
            addCriterion("append2 not in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Between(String value1, String value2) {
            addCriterion("append2 between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotBetween(String value1, String value2) {
            addCriterion("append2 not between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNull() {
            addCriterion("append3 is null");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNotNull() {
            addCriterion("append3 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend3EqualTo(String value) {
            addCriterion("append3 =", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotEqualTo(String value) {
            addCriterion("append3 <>", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThan(String value) {
            addCriterion("append3 >", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThanOrEqualTo(String value) {
            addCriterion("append3 >=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThan(String value) {
            addCriterion("append3 <", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThanOrEqualTo(String value) {
            addCriterion("append3 <=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Like(String value) {
            addCriterion("append3 like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotLike(String value) {
            addCriterion("append3 not like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3In(List<String> values) {
            addCriterion("append3 in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotIn(List<String> values) {
            addCriterion("append3 not in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Between(String value1, String value2) {
            addCriterion("append3 between", value1, value2, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotBetween(String value1, String value2) {
            addCriterion("append3 not between", value1, value2, "append3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}